<%@ include file="/header.jsp" %>
<br /><br />
	<form class="forms" id="usuariosForm" action="<c:url value="/usuarios"/>" method="POST">
		<fieldset>
			<legend><fmt:message key="register"/></legend>
			
			<table style="margin: 20px auto;">
				<tr>
					<td>
						<label for="nome"><fmt:message key="name"/>:</label>
					</td>
					<td>
						<input id="nome" class="required" type="text" name="usuario.nome" value="${usuario.nome }" />
					</td>
				<tr>
				<tr>
					<td>
						<label for="login">Login:</label>
					</td>
					<td>
						<input id="login" class="required" type="text" name="usuario.login" value="${usuario.login }" />
					</td>
				<tr>
				<tr>
					<td>
						 <label	for="senha"><fmt:message key="password"/>:</label>
					</td>
					<td>
						 <input id="senha" class="required"	type="password" name="usuario.senha" />
					</td>
				<tr>
				<tr>
					<td>
						 <label for="confirmacao"><fmt:message key="confirm_password"/>:</label>
					</td>
					<td>
						  <input id="confirmacao" equalTo="#senha" type="password" />
					</td>
				<tr>
				<tr>
					<td>
						
					</td>
					<td>
						  <button type="submit"><fmt:message key="send"/></button>
					</td>
				<tr>
			</table>	    
			
		</fieldset>
	</form>
	<script type="text/javascript">
	$('#usuariosForm').validate();
	</script>
	
<%@ include file="/footer.jsp" %> 